package com.woniuxy.yoga.progress.dao.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 团课请假记录表
 * </p>
 *
 * @author 韦用文,刘存益,郎腾霄
 * @since 2023年11月28日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("team_vacate")
public class TeamVacate implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 请假ID
     */
    @TableId(value = "vacate_id", type = IdType.AUTO)
    private Integer vacateId;

    /**
     * 用户ID
     */
    @TableField("user_id")
    private Integer userId;

    /**
     * 订单号
     */
    @TableField("order_num")
    private String orderNum;

    /**
     * 课程ID
     */
    @TableField("team_course_id")
    private Integer teamCourseId;

    /**
     * 产品ID
     */
    @TableField("team_product_id")
    private Integer teamProductId;

    /**
     * 请假日期
     */
    @TableField("vacate_time")
    private String vacateTime;

    /**
     * 请假原因
     */
    @TableField("vacate_reason")
    private String vacateReason;

    /**
     * 请假天数
     */
    @TableField("vacate_count")
    private Double vacateCount;

    /**
     * 请假状态
     */
    @TableField("vacate_state")
    private Integer vacateState;


}
